﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Visitor.aspx.cs" Inherits="TsWeb.Visitors.Visitor" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true">
        <Scripts>
        <asp:ScriptReference Path= "~/Scripts/jquery-1.9.1.js" />
        <asp:ScriptReference Path= "~/Scripts/bootstrap.min.js"  />
        </Scripts>
        </asp:ScriptManager>
    <asp:LoginView ID="LoginView1" runat="server">
    <LoggedInTemplate>
                  <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="800px" height="1250px">
	    <param name="source" value="../ClientBin/TsSilverlight.xap"/>
	    <param name="onError" value="onSilverlightError" />
	    <param name="background" value="transparent" />
        <param name="windowless" value="true" />
	    <param name="minRuntimeVersion" value="4.0.50826.0" />
	    <param name="autoUpgrade" value="true" />
	    <a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=4.0.50826.0" style="text-decoration:none">
 		    <img src="http://go.microsoft.com/fwlink/?LinkId=161376" alt="Get Microsoft Silverlight" style="border-style:none"/>
	    </a>
    </object>   
            </LoggedInTemplate>
            <AnonymousTemplate>
             
                <asp:HyperLink ID="lnkLogin" runat="server" NavigateUrl="~/Account/Login.aspx">Log In</asp:HyperLink>
            </AnonymousTemplate>
    </asp:LoginView>




</asp:Content>
